package com.huike.pmps.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 作者：谌贵斌(黑桃K)
 * 日期: 2888-08-08
 * 老师QQ: 272488352
 * 官方QQ交流群: 377748272
 * 刀客程序员官网：http://www.daoke360.com
 * 刀客程序员淘宝旗舰店：https://daoke360.taobao.com/
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("p_expenses")
public class Expenses {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("年")
    private Integer year;
    @ApiModelProperty("月")
    private Integer month;
    @ApiModelProperty("提交人")
    private String submitterName;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("事由")
    private String reason;
    @ApiModelProperty("报销金额")
    private BigDecimal submitAmount;
    @ApiModelProperty("支付金额")
    private BigDecimal paymentAmount;
    @ApiModelProperty("支付日期")
    private Date paymentDate;
    @ApiModelProperty("收款信息")
    private String payeeInfo;
    @ApiModelProperty("费用类型")
    private String feeType;
    @ApiModelProperty("业务类型")
    private String businessType;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("战区ID")
    private Integer regionId;
    @ApiModelProperty("战区名字")
    private String regionName;
    @ApiModelProperty("省份ID")
    private Integer provinceId;
    @ApiModelProperty("省份名字")
    private String provinceName;
    @ApiModelProperty("po单号")
    private String po;
    @ApiModelProperty("所属财年")
    private Integer financialYear;
    @ApiModelProperty("财年支出金额")
    private BigDecimal fyPaymentAmount;
    @ApiModelProperty("产品线")
    private String productLine;
    @ApiModelProperty("产品线成本")
    private String productLineCostName;
    @ApiModelProperty("一年中的第几周")
    private Integer weekOfYear;
    @ApiModelProperty("一年中的第几季度")
    private Integer seasonOfYear;
    @ApiModelProperty("一年中的第几月")
    private Integer monthOfYear;
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;
}
